<html window-resizable >
  <head>
    <title>Hello world!</title>
    <style></style>
    <script type="text/tiscript">
    
    function self.ready() {
      view.state = View.WINDOW_SHOWN;
      debug params: view.parameters;
    }
    
    function self.closing() {
      if( view.parameters.onClose) {
        view.parameters.onClose();
      } 
    }
    
    </script>
  </head>
<body>
  Close me!
</body>
</html>
